// components/custom-picker/custom-picker.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    lists: {
      type: Array,
      default: () => []
    },
    hasPicker: {
      type: Boolean,
      default: false
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    
  },

  /**
   * 组件的方法列表
   */
  methods: {
    onConfirmPicker(columns) {
      this.triggerEvent('customPicker', columns.detail)
    },
    onCancelPicker(columns) {
      this.triggerEvent('cancelPicker', columns.detail)
    },
    handleClickOverlay() {
      this.triggerEvent('pickerMark')
    }
  }
})
